|
linhall2 2.2.1
|
LIN Hall 2 Click Example. More...
Macros | |
| #define | MIKROBUS_POSITION_LINHALL2 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
LIN Hall 2 Click Example.
This is an example which demonstrates the use of LIN Hall 2 Click board by measuring magnetic field density and showing it in mT as well as detecting the orientation of the magnet.
The demo application is composed of two sections :
The initialization of ADC module and log UART.
The demo application reads the Magnetic field density and showing it in mT as well as the orientation of the magnet.
| #define MIKROBUS_POSITION_LINHALL2 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |